package com.diy.sigmund.diyuser.entity.dto;

/**
 * @author ylm-sigmund
 * @since 2021/8/20 10:42
 */
public class UserAuthDTO {

    /**
     * 1手机号 2邮箱 3用户名 4qq 5微信 6腾讯微博 7新浪微博
     */
    private String identityType;
    /**
     * 0 站内登录方式，1 站外登录方式
     */
    private String isExternalLogin;
    /**
     * 手机号 邮箱 用户名或第三方应用的唯一标识
     */
    private String identifier;
    /**
     * 密码凭证(站内的保存密码，站外的不保存或保存token)
     */
    private String credential;
    /**
     * 登录token
     */
    private String accessToken;
    /**
     * 刷新token
     */
    private String refreshToken;

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getIdentityType() {
        return identityType;
    }

    public void setIdentityType(String identityType) {
        this.identityType = identityType;
    }

    public String getIsExternalLogin() {
        return isExternalLogin;
    }

    public void setIsExternalLogin(String isExternalLogin) {
        this.isExternalLogin = isExternalLogin;
    }

    public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    public String getCredential() {
        return credential;
    }

    public void setCredential(String credential) {
        this.credential = credential;
    }
}
